package com.qf.rbac.sys.controller;

import com.qf.rbac.sys.entity.SysUser;
import org.apache.shiro.SecurityUtils;


public class AbstractController {

    protected SysUser getUser() {
        return (SysUser) SecurityUtils.getSubject().getPrincipal();
    }

}
